/*
 * @Author: your name
 * @Date: 2020-10-15 19:32:59
 * @LastEditTime: 2020-10-19 17:40:55
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \longh_h5\src\apis\user\System.js
 */
import request from '@/utils/request'

//批量删除或单个删除系统消息
export function deleteSystemMessage(params) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/userSystemMessage/delete',
        method: 'POST',
        data: params
    })
}

//获取系统消息分页列表
export function getListSystemMessage(params) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/userSystemMessage/getPageList',
        method: 'POST',
        data: params
    })
}

//获取系统消息详情
export function getSystemObjMessage(params) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/userSystemMessage/info',
        method: 'POST',
        data: params
    })
}

//批量修改系统消息为已读或单个修改
export function updateSystemMessage(id) {
    return request({
        url: '/wenge/microservice-supply-consumer-web/userSystemMessage/update',
        method: 'POST',
        data: id
    })
}
